<%= button_to 'Test', raw_device_path(@device), remote: true, name: :test, value: true, class: 'btn btn-warning' %>